<!DOCTYPE html>
<html>
<head>
	<title></title>
	<style type="text/css">
		#ul{
			list-style: none;
			padding: 0;
		}
		#ul li{
			margin: 8px;
		}
		#ul li a{
			font-size: 18px;
			color: #807f7e;
			text-decoration: none;
		}
	</style>
</head>
<body>
	<ul id="ul">
<?php
include_once("database.php");
//获取数据库表里的subject数据 然后显示出来
$selectsubject="select subjectid,title from notice ";
$result=mysql_query($selectsubject);
while($row=mysql_fetch_array($result,MYSQL_ASSOC)){
	$subjectid=$row["subjectid"];
	$title=$row["title"];
	echo "<li><a href=\"gonggaoxq.php\?action=show&subjectid={$subjectid}\" target=\"_blank\">{$title}</a></li>";
}

?>
</ul>
</body>
</html>
